package com.dhsc.local.dao.impl.wdywgl;

import com.dhsc.domain.ywzx.wdywgl.CywjjxsgfVo;
import com.dhsc.domain.ywzx.wdywgl.CyyjjxsggrVo;
import com.dhsc.domain.ywzx.wdywgl.HsscdxfsjVo;
import com.dhsc.local.dao.wdywgl.IXsjdxfsjDao;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: XsjdxfsjDaoImpl
 * @Description: 限售及大小非数据
 * @date: 2023/1/16 14:07
 * @author: jwj
 */
@Repository("xsjdxfsjdao")
public class XsjdxfsjDaoImpl implements IXsjdxfsjDao {

    @Autowired
    private SqlSessionTemplate localSqlSessionTemplate;

    @Override
    public List<CywjjxsgfVo> queryCywjjxsgf(CywjjxsgfVo cywjjxsgfVo) {
        return localSqlSessionTemplate.selectList("XsjdxfsMapper.queryCywjjxsgf",cywjjxsgfVo);
    }

    @Override
    public List<CyyjjxsggrVo> queryCyyjjxsggr(CyyjjxsggrVo cyyjjxsggrVo) {
        return localSqlSessionTemplate.selectList("XsjdxfsMapper.queryCyyjjxsggr",cyyjjxsggrVo);
    }

    @Override
    public List<HsscdxfsjVo> queryHsscdxfsjcx(HsscdxfsjVo hsscdxfsjVo) {
        return localSqlSessionTemplate.selectList("XsjdxfsMapper.queryHsscdxfsjcx",hsscdxfsjVo);
    }
}
